package com.youlu.campus.service.ranking;

import com.youlu.campus.entity.UserPO;
import com.youlu.campus.entity.VO.RankingListQueryVO;
import com.youlu.campus.entity.VO.req.RankingListResVO;

public interface UserActivityPointRankingUniversityService {
    /**
     * 积分排行榜
     *
     * @param req
     * @param userPO
     * @return
     */
    RankingListResVO getUserTaskRanking(RankingListQueryVO req, UserPO userPO);

    /**
     * 更新积分
     *
     * @param userPO
     * @param activityId
     * @param point
     */
    void updatePoint(UserPO userPO, String activityId, Integer point);
}
